import instance from "../../../utils/request";



class IndexAx{
    constructor(contentType="application/json") {
        this.contentType = {"Content-Type":contentType}
    }

    Rotation(){
        return instance({
            method:"get",
            url:"/advertise/advertisements",
            header: this.contentType
        })
    }

    ProductList(parms={}){
        return instance({
            method:"get",
            url:"/porduct/products",
            params:parms
        })
    }

}


export default IndexAx